package com.unicom.zh.service.impl;

import com.unicom.zh.mapper.UserMapper;
import com.unicom.zh.pojo.User;
import com.unicom.zh.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    public User findUserById(String userId) {
        return userMapper.findUserById(userId);
    }
}
